package com.permissionmanager.mapper;

import com.permissionmanager.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * user持久层
 *
 */
@Mapper
public interface UserMapper {
    void add(User user);

    User findByUser(Integer id, String username,String phone);

    void update(User user);

    List<User> findPage(Integer skipNum, Integer pageSize, String username, String name);

    void del(Integer id);

    List<User> findUser(Integer id, String username, String name);
}
